package com.course.server.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/*
 * @description: TODO 自定义异常
 * @author: 万物皆可喵
 * @date: 2022/9/21 14:45
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseException extends RuntimeException {
    private Integer code;
    private String msg;
}
